package adapter;

/**
 * @author wangxun
 * @version 1.0
 * @description: 教练
 * @date 2020/11/17 12:07 下午
 */
public class CoachTest {
    public static void main(String[] args) {
        USBasketBallPlayer james = new USPlayer("James");
        USBasketBallPlayer curry = new USPlayer("curry");
        USBasketBallPlayer zhouqi = new TranslateAdapter(new ChinaPlayer("周琦"));

        james.attack();
        curry.defensive();
        zhouqi.rebound();
    }
}
